<?php include "../../../include/php/header.php"; ?>
<center>
  <table width="800" border="0" cellpadding="0" cellspacing="0">
        <tr>
        <td colspan="2">
  		<div class="texto_bienvenida cizq">
		Bienvenido, <?=$objeto->obtenerUsuario();?><br/>
    </div>
    <div class="texto_encabezado cder">
     	<div class="tab cizq">
	    <a href="../../index.php">Panel Principal</a>
	    </div>
	    <div class="tab cizq">
	    <a href="index.php">Panel Album</a>
		</div>
	    <div class="tab cizq">
	    <a href="../../../include/<?=$objeto->cerrar_s()?>" class="menu">Cerrar Sesi&oacute;n</a>    
	    </div>
    </div>
    <div class="sep"></div>
  </td>
        </tr>
        <tr>
          <td colspan="2" align="center" valign="baseline" bgcolor="#FFFFFF" 
          class="Estilo78" scope="col">
          <div align="center" style="margin:6px 0 6px 0;">	
          <form id="formAgregar">	
          <table cellspacing="5" cellpadding="5" width="750">
          <tr>
          <td colspan="2" valign="top" class="celda_form" style="background-color:#333333">	
          Agrega album de imagenes
          </td>
          </tr>
          <tr>
          <td valign="top" style="background-color:#9CBADE" class="celda_form">Nombre</td>
          <td align="left" style="background-color:#9CBADE">
          <input type="text" name="cjNombreA" size="110"></input>  </td>
          </tr>
          <tr>
          <td valign="top" style="background-color:#9CBADE" class="celda_form">Descripcion</td>
          <td align="left" style="background-color:#9CBADE">
          <textarea name="cjDescripcion" cols="83" rows="10"></textarea></td>
          </tr>
          <tr>
          <td valign="top" style="background-color:#9CBADE" class="celda_form">Idioma</td>
          <td align="left" style="background-color:#9CBADE">
          <select name="cbIdioma">
          <option value="-1">Seleccione Idioma</option>
	      <?php
	      $sql = "SELECT * FROM idiomas";
		  $res = $db->exec_cons($sql);
		  while($resultados = mysql_fetch_array($res)){
		  ?>
	       	<option value="<?=$resultados["codigo"]?>"><?=$resultados["nombre"]?></option>
	      <?php
		  }
		  ?>
          </select>
          </td>
          </tr>
          <tr>
          <td valign="top" style="background-color:#9CBADE" class="celda_form">Clave</td>
          <td align="left" style="background-color:#9CBADE">
          <input size="110" maxlength="250" type="text" name="cjClave">
          </td>
          </tr>
          <tr>
          <td valign="top" style="background-color:#9CBADE" class="celda_form">Etiquetas</td>
          <td align="left" style="background-color:#9CBADE">
          <input size="110" maxlength="250" type="text" name="cjEtiquetas">    </td>
          </tr>
          <tr>
          <td colspan="2" class="linea">
          <div class="cizq" id="status"></div>
          <div class="cder">  
          <input type="button" name="btAgregar" value="Agregar Album" alt="agregar_album.inc.php" id="btAgregar" 
          title="1" />
          </div>
          <div class="sep"></div>
          </td>
          </tr>
          </table>
          </form>
          </div>   
          </td>
           </tr>
          <tr>
          <td colspan="2" align="center" valign="baseline" class="celda_pie" scope="col">&nbsp;</td>
        </tr>
</table>
</center>
<?php include "../../../include/php/footer.php"; ?>
